package book;

import 模拟实现顺序表.MyArrayList;

public class BookList {
    public MyArrayList<Book> books;
    public BookList(){
        Book book1 = new Book("三国演义","罗贯中",17,"小说");
        Book book2 = new Book("西游记","吴承恩",15,"小说");
        Book book3 = new Book("水浒传","曹雪芹",19,"小说");
        this.books = new MyArrayList<>();
        books.add(book1);
        books.add(book2);
        books.add(book3);
    }
}
